package com.ysyx.ysyx_admin.mapper;

import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.ysyx.ysyx_admin.pojo.DriverPojo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ysyx.ysyx_admin.qo.DriverAuditQo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【driver_inf(司机信息表)】的数据库操作Mapper
* @createDate 2023-04-18 14:29:36
* @Entity com.ysyx.ysyx_admin.pojo.DriverPojo
*/
@Mapper
public interface DriverPojoMapper extends BaseMapper<DriverPojo> {

    List<DriverPojo> showDriver(DriverPojo driverPojo);

    int driverCount();

    List<DriverAuditQo> driverAudit(DriverAuditQo driverAuditQo);

    int driverAuditCount();

//    List<DriverAuditQo> passAudit(DriverAuditQo driverAuditQo, UpdateWrapper<DriverAuditQo> updateWrapper);

    int passAudit(DriverAuditQo driverAuditQo);

    int noPassAudit(DriverAuditQo driverAuditQo);
}




